/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.eb.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaaction.common.persistence.Page;
import com.kaaction.common.service.CrudService;
import com.kaaction.modules.eb.entity.OrderBargin;
import com.kaaction.modules.eb.dao.OrderBarginDao;

/**
 * 砍价Service
 * @author zengbiao
 * @version 2017-05-04
 */
@Service
@Transactional(readOnly = true)
public class OrderBarginService extends CrudService<OrderBarginDao, OrderBargin> {

	public OrderBargin get(String id) {
		return super.get(id);
	}
	
	public List<OrderBargin> findList(OrderBargin orderBargin) {
		return super.findList(orderBargin);
	}
	
	public Page<OrderBargin> findPage(Page<OrderBargin> page, OrderBargin orderBargin) {
		return super.findPage(page, orderBargin);
	}
	
	@Transactional(readOnly = false)
	public void save(OrderBargin orderBargin) {
		super.save(orderBargin);
	}
	
	@Transactional(readOnly = false)
	public void delete(OrderBargin orderBargin) {
		super.delete(orderBargin);
	}
	
}